
#ifndef FILEOFFLINE_H
#define FILEOFFLINE_H

#pragma once
/////////////////////////////////////////////////////////////////////////////
// CFileOffline dialog

#include "FileOfflineBase.h"
class CFileOffline : public CFileOfflineBase
{
// Construction
public:
	CFileOffline(CWnd* pParent = NULL);   // standard constructor
// Dialog Data
	//{{AFX_DATA(CFileOffline)
	enum { IDD = IDD_FILE_OFFLINE };
	//}}AFX_DATA
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFileOffline)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	void OnError( int error, CString message );
	void OnReply( int msg, CString message );
	CImageList m_ctImageList;
	//{{AFX_MSG(CFileOffline)
	virtual BOOL OnInitDialog();
	afx_msg void OnDownloadfile();
	afx_msg void OnRefrushdir();
	afx_msg void OnDeletefile();
	afx_msg void OnRclickServerlist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnRclickTranslist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDblclkServerlist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDblclkTranslist(NMHDR* pNMHDR, LRESULT* pResult);
    afx_msg void EM_PopMsg(WPARAM wParam, LPARAM lParam);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#endif // FILEOFFLINE_H